﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace OES.Models
{
    public class Choise
    {
        public int ChoiseId { get; set; }
        public int QuestionId { get; set; }
        [Display(Name = "Şık")]
        [Required(ErrorMessage = "Şık boş olamaz")]
        public string ChoiseText { get; set; }
        public bool TrueAnswer { get; set; }
        public virtual Question Question { get; set; }
    }
}